package io.sage.service;

import java.io.File;
import java.io.InputStream;

import com.qiniu.common.QiniuException;

public interface QnUploadService {
	
	public String uploadFile(File file, String fileName) throws QiniuException;
	
	public String uploadFile(InputStream inputStream, String fileName) throws QiniuException;
	
	public String delete(String key) throws QiniuException;
	
	public void afterPropertiesSet() throws Exception;

}
